﻿using CommunicationClass.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Net.Sockets;
using System.Text;

namespace CommunicationClass.Server.Model
{
    /// <summary>
    /// 用户socket关联实体
    /// </summary>
    public class SocketListOnline
    {
        /// <summary>
        /// 用户Tcp,socket连接
        /// </summary>
        public Socket TcpClient { get; set; }
        /// <summary>
        /// 用户UDP外网地址
        /// </summary>
        public string UdpHost { get; set; }
        /// <summary>
        /// 用户UDP外网端口号
        /// </summary>
        public int UdpPort { get; set; }
        /// <summary>
        /// 登录信息
        /// </summary>
        public MessageUserLogin UserLogin { get; set; }
    }
}
